﻿namespace WMS6.Web.BillingServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, DataContract(Name="BillingDailyInvQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class BillingDailyInvQueryEntity : BaseQuery
    {
        [OptionalField]
        private string BeginDateField;
        [OptionalField]
        private string DailyInvTypeField;
        [OptionalField]
        private string DaysField;
        [OptionalField]
        private string EndDateField;
        [OptionalField]
        private string OwnerIDField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string WhIDField;

        [DataMember]
        public string BeginDate
        {
            get
            {
                return this.BeginDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.BeginDateField, value))
                {
                    this.BeginDateField = value;
                    base.RaisePropertyChanged("BeginDate");
                }
            }
        }

        [DataMember]
        public string DailyInvType
        {
            get
            {
                return this.DailyInvTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DailyInvTypeField, value))
                {
                    this.DailyInvTypeField = value;
                    base.RaisePropertyChanged("DailyInvType");
                }
            }
        }

        [DataMember]
        public string Days
        {
            get
            {
                return this.DaysField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DaysField, value))
                {
                    this.DaysField = value;
                    base.RaisePropertyChanged("Days");
                }
            }
        }

        [DataMember]
        public string EndDate
        {
            get
            {
                return this.EndDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.EndDateField, value))
                {
                    this.EndDateField = value;
                    base.RaisePropertyChanged("EndDate");
                }
            }
        }

        [DataMember]
        public string OwnerID
        {
            get
            {
                return this.OwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIDField, value))
                {
                    this.OwnerIDField = value;
                    base.RaisePropertyChanged("OwnerID");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

